package com.cdut.logistics.service.interf.businesses;

import java.util.List;



import com.cdut.logistics.model.dao.datacentre.User;
import com.cdut.logistics.service.Dto.RepairDto;

public interface RepairService {
	/**
	 * 
	 * @param school_id
	 * @param dorm_id
	 * @param area_id
	 * @param repair_type
	 * @param repair_text
	 * @param img_url
	 * @param video_url
	 * @param remarks
	 * @return
	 */
    public boolean  repair_save(int user_id,int school_id,int dorm_id,int area_id, int repair_type ,String repair_text,String img_url,String video_url,String remarks);
    
    public RepairDto repair_detail(int user_id);
    
    public List<RepairDto> repairlist_detail(int user_id);
    
    public RepairDto Repairsingle_detail(int order_id,int user_id);
    
    public List<RepairDto> admin_repairlist_detail();
    
    public RepairDto admin_Repairsingle_detail(int order_id);
    
    public User  user_detail(int user_id);
    
    public boolean repair_cancel(int order_id);
    
    public boolean repair_task(int leader_id,int school_id, int area_id,String repair_member,String start_time,String end_time,String remarks);
    
    public boolean repair_auditing_agree(int order_id);
    
    public boolean repair_auditing_disagree(int order_id,String remarks);
    
    public boolean repair_arrange(int order_id,int repair_leader);
    
    public boolean repair_diaodu(int order_id,String repair_member);
    
    public boolean repair_result(int order_id);
    
    public boolean repair_suggestion(int order_id,int user_id, String content);
    
    public boolean repair_advice(int user_id, String content);

	public List<RepairDto> admin_repairlist_detail_baoxiu();

	public List<RepairDto> admin_repairlist_detail_diaodu();

	public List<RepairDto> admin_repairlist_detail_result();
}
